/* Copyright 2013 Google Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//   http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
*/
/**
 * Defines the styles for the prompt UI.
 */

button {
  margin-bottom: 10px;
}

form {
  margin-top: 10px;
}

input[type="text"],
input[type="password"] {
  width: 548px;
}

textarea {
  border: 1px solid #acacac;
  height: 200px;
  width: 650px;
}

textarea:hover,
textarea:focus,
#pgpKeySelect:hover,
#pgpKeySelect:focus,
#fromHolder:hover,
#fromHolder:focus {
  border: 1px solid #0c0c0c;
  outline: none;
}

#pgpBody input[type="checkbox"],
#pgpBody input[type="password"] {
  margin: 8px 8px 0 0;
}

#pgpBody ul {
  list-style: none;
  padding: 0 15px;
  width: 270px;
}

#pgpBody ul>li {
  border-bottom: 1px solid #ebebeb;
  padding: 5px;
}

#pgpBody ul>li:hover {
  background-color: #f5f5f5;
  cursor: pointer;
}

#pgpBody > #pgpKeySelect {
  margin-bottom: 8px;
}

#errorDiv {
  color: #dd4b39;
  font-size: 1em;
  margin-bottom: 7px;
  text-align: center;
}

#pgpKeySelect,
#fromHolder {
  border: 1px solid #acacac;
  color: #acacac;
  line-height: 18px;
  margin-bottom: 8px;
}

#fromHolder > * {
  display: inline-block;
  margin: 2px;
}

#fromHolder > div:first-child,
#pgpKeySelect > .uid-chips > input,
#pgpKeySelect > .uid-chips > span {
  margin-left: 7px;
}


#pgpKeySelect:focus,
#fromHolder:focus {
  color: #0c0c0c;
  content: '';
}

#pgpKeySelect input,
#pgpKeySelect input:hover,
#pgpKeySelect input:focus {
  border: 0;
  display: inline-block;
  overflow: hidden;
  padding: 0;
  width: 100px;
}

#pgpKeySelect > .uid-chips,
#pgpKeySelect > .uid-chips div {
  display: inline-block;
}

#pgpKeySelect > .uid-chips {
  padding: 2px;
}

#pgpKeySelect > .uid-chips > div {
  background-color: #f5f5f5;
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  color: #0c0c0c;
  margin: 5px;
  padding: 2px;
}

#pgpKeySelect > .uid-chips > .uid-bad-chip {
  background-color: #f4cccc;
}

#pgpSignerSelect {
  background-color: white;
  border: 0;
  margin-left: 5px;
  outline: none;
  padding: 1px;
}

#pgpSignerSelect:disabled {
  -webkit-appearance: initial;
}

#passphraseEncryptionLink {
  color: #acacac;
  cursor: pointer;
  margin-right: 10px;
  padding-bottom: 8px;
  text-align: right;
}

#passphraseEncryptionLink:hover {
  color: #0c0c0c;
}

.ac-renderer {
  background-color: white;
  border: 1px solid #acacac;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  cursor: pointer;
  padding: 10px;
  position: absolute;
}

.ac-row {
  padding: 10px;
}

.uid-chip > div,
.uid-chip img {
  margin-bottom: 2px;
  vertical-align: bottom;
}

.uid-chip img {
  cursor: pointer;
  height: 16px;
  margin: 0 0 2px 5px;
  opacity: 0.3;
  vertical-align: middle;
  width: 16px;
}

.uid-chip img:hover {
  opacity: 1;
}

